package com.leyou.auth.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 虎哥
 */
@Data
@AllArgsConstructor(staticName = "of")
@NoArgsConstructor
public class AliOssSignatureDTO {
    private String accessId;  //用户的AccessKeyId
    private String host;   //申请的阿里OSS的bucket访问地址
    private String policy;   //文件上传的策略
    private String signature;  //生成的签名
    private long expire;  //本次签名的过期时间
    private String dir;  //要上传到bucket中的哪个目录
}